/*
 *			         TS2MP4 Pod
 *
 *			Authors: Gailliez Jonathan
 *                   Damien Leroy
 *			Copyright (c) Keemotion 2014
 *					All rights reserved
 *
 *  This file is part of TS2MP4 Pod.
 *
 *  TS2MP4 is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  TS2MP4 is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; see the file LICENCE.  If not, write to
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */


#import "KMMediaAsset.h"


@interface KMMediaAsset ()
@property (nonatomic, strong, readwrite) NSURL *url;
@property (nonatomic, readwrite) KMMediaFormat format;
@end


@implementation KMMediaAsset

+ (id)assetWithURL:(NSURL *)url withFormat:(KMMediaFormat)format
{
    KMMediaAsset *asset = [[self alloc] init];
    if(asset)
    {
        asset.url = url;
        asset.format = format;
    }
    return asset;
}


@end
